import request from '@/utils/request';
export async function listImages(params) {
  return request('/api/image/list', {
    method: 'GET',
  });
}
//searchImages updateImages
export async function searchImages(params) {
  return request('/api/image/query?name='+params, {
    method: 'GET',
  });
}

export async function updateImages(params) {
  return request('/api/image/update', {
    method: 'POST',
    data: params,
  });
}